﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PublicPage.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Ebiz.Default" %>
<asp:Content ID="ContentHeader" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="ContentBody" ContentPlaceHolderID="ContentHolder" runat="server">
    <h3 style="color:Blue;">
        <asp:Label ID="lblHeader" runat="server" Text="Welcome,"></asp:Label></h3>
    <form id="Form1" runat="server">
        <table id="tblLogin" runat="server" cellpadding="6" cellspacing="0" align="center">
            <tbody>
                <tr>
                    <td style="font-size:12px;">Username</td><td>:</td>
                    <td>
                        <asp:TextBox ID="txtUsername" Text="" MaxLength="32" 
                            runat="server" Width="180px" Font-Size="12px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="rfv1" runat="server" 
                            ErrorMessage="Name is required" Text="*" ValidationGroup="ENTERSYS" 
                            ControlToValidate="txtUsername"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="font-size:12px;">Password</td><td>:</td>
                    <td>
                        <asp:TextBox ID="txtPassword" Text="" MaxLength="16" TextMode="Password" 
                            runat="server" Width="180px" Font-Size="12px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="rfv2" runat="server" 
                            ErrorMessage="Password is required" Text="*" ValidationGroup="ENTERSYS" 
                            ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr><td colspan="4">&nbsp;</td></tr>
                <tr>
                    <td colspan="2">&nbsp;</td>
                    <td colspan="2" align="left">
                        <asp:Button ID="btnLogin" Text="Login" CssClass="btnSmall" 
                            runat="server" Width="90px" ValidationGroup="ENTERSYS" />
                        </td>
                </tr>
                <tr><td colspan="4">&nbsp;</td></tr>
                <tr>
                    <td colspan="4" align="left" style="font-size: 12px; color: Red"><%= errMsg %>
                        <asp:ValidationSummary ID="vSum" ValidationGroup="ENTERSYS" Font-Size="12px" 
                            runat="server" ShowMessageBox="True" ShowSummary="False" 
                            HeaderText="Login Failed:" />
                    </td>
                </tr>
            </tbody>
        </table>
        <asp:Label ID="lblLoggedUser" runat="server" Font-Names="Arial" Font-Size="14px"></asp:Label>
        <div style="padding-top:30px;">
            <asp:Button ID="btnContinue" runat="server" CssClass="btnSmall" Text="Continue" 
                Width="120px" onclick="btnContinue_Click" />
        </div>
    </form>
</asp:Content>
